[INFO] cloning repository https://github.com/acanthite/serde_json-breaks-type-inference
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acanthite/serde_json-breaks-type-inference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facanthite%2Fserde_json-breaks-type-inference", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facanthite%2Fserde_json-breaks-type-inference'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8cc3e3088f25f9ec0449f0b1c0896f9a0d041ada
[INFO] checking acanthite/serde_json-breaks-type-inference against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facanthite%2Fserde_json-breaks-type-inference" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/acanthite/serde_json-breaks-type-inference on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/acanthite/serde_json-breaks-type-inference
[INFO] finished tweaking git repo https://github.com/acanthite/serde_json-breaks-type-inference
[INFO] tweaked toml for git repo https://github.com/acanthite/serde_json-breaks-type-inference written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/acanthite/serde_json-breaks-type-inference already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 225c05151407e917742c41784d19097ad5b1880d4024090010903eae1f9b84d8
[INFO] running `Command { std: "docker" "start" "-a" "225c05151407e917742c41784d19097ad5b1880d4024090010903eae1f9b84d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "225c05151407e917742c41784d19097ad5b1880d4024090010903eae1f9b84d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "225c05151407e917742c41784d19097ad5b1880d4024090010903eae1f9b84d8", kill_on_drop: false }`
[INFO] [stdout] 225c05151407e917742c41784d19097ad5b1880d4024090010903eae1f9b84d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef06355333b4428987e8c6561fa5dda6bcec8a92463203409bb76b8c0dfff8fb
[INFO] running `Command { std: "docker" "start" "-a" "ef06355333b4428987e8c6561fa5dda6bcec8a92463203409bb76b8c0dfff8fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking broken_inference v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]  --> src/other_broken.rs:7:48
[INFO] [stdout]   |
[INFO] [stdout] 7 |         assert_eq!(10, vec![1, 2, 3, 4].iter().sum());
[INFO] [stdout]   |                                                ^^^ cannot infer type of the type parameter `S` declared on the associated function `sum`
[INFO] [stdout]   |
[INFO] [stdout]   = note: cannot satisfy `_: Sum<&i32>`
[INFO] [stdout]   = help: the following types implement trait `Sum<A>`:
[INFO] [stdout]             <Duration as Sum<&'a Duration>>
[INFO] [stdout]             <Duration as Sum>
[INFO] [stdout]             <Option<T> as Sum<Option<U>>>
[INFO] [stdout]             <Result<T, E> as Sum<Result<U, E>>>
[INFO] [stdout]             <Simd<f32, LANES> as Sum<&'a Simd<f32, LANES>>>
[INFO] [stdout]             <Simd<f32, LANES> as Sum>
[INFO] [stdout]             <Simd<f64, LANES> as Sum<&'a Simd<f64, LANES>>>
[INFO] [stdout]             <Simd<f64, LANES> as Sum>
[INFO] [stdout]           and 72 others
[INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum`
[INFO] [stdout]  --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/iter/traits/iterator.rs:3386:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]   |
[INFO] [stdout] 7 |         assert_eq!(10, vec![1, 2, 3, 4].iter().sum::<S>());
[INFO] [stdout]   |                                                   +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]  --> src/other_broken.rs:7:48
[INFO] [stdout]   |
[INFO] [stdout] 7 |         assert_eq!(10, vec![1, 2, 3, 4].iter().sum());
[INFO] [stdout]   |         ---------------------------------------^^^---
[INFO] [stdout]   |         |                                      |
[INFO] [stdout]   |         |                                      cannot infer type of the type parameter `S` declared on the associated function `sum`
[INFO] [stdout]   |         type must be known at this point
[INFO] [stdout]   |
[INFO] [stdout]   = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`:
[INFO] [stdout]           - impl PartialEq for i32;
[INFO] [stdout]           - impl PartialEq<Value> for i32;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]   |
[INFO] [stdout] 7 |         assert_eq!(10, vec![1, 2, 3, 4].iter().sum::<S>());
[INFO] [stdout]   |                                                   +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:12:48
[INFO] [stdout]    |
[INFO] [stdout] 12 |         assert_eq!(10, vec![1, 2, 3, 4].iter().sum());
[INFO] [stdout]    |                                                ^^^ cannot infer type of the type parameter `S` declared on the associated function `sum`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: Sum<&i32>`
[INFO] [stdout]    = help: the following types implement trait `Sum<A>`:
[INFO] [stdout]              <Duration as Sum<&'a Duration>>
[INFO] [stdout]              <Duration as Sum>
[INFO] [stdout]              <Option<T> as Sum<Option<U>>>
[INFO] [stdout]              <Result<T, E> as Sum<Result<U, E>>>
[INFO] [stdout]              <Simd<f32, LANES> as Sum<&'a Simd<f32, LANES>>>
[INFO] [stdout]              <Simd<f32, LANES> as Sum>
[INFO] [stdout]              <Simd<f64, LANES> as Sum<&'a Simd<f64, LANES>>>
[INFO] [stdout]              <Simd<f64, LANES> as Sum>
[INFO] [stdout]            and 72 others
[INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum`
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/iter/traits/iterator.rs:3386:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 12 |         assert_eq!(10, vec![1, 2, 3, 4].iter().sum::<S>());
[INFO] [stdout]    |                                                   +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:12:48
[INFO] [stdout]    |
[INFO] [stdout] 12 |         assert_eq!(10, vec![1, 2, 3, 4].iter().sum());
[INFO] [stdout]    |         ---------------------------------------^^^---
[INFO] [stdout]    |         |                                      |
[INFO] [stdout]    |         |                                      cannot infer type of the type parameter `S` declared on the associated function `sum`
[INFO] [stdout]    |         type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`:
[INFO] [stdout]            - impl PartialEq for i32;
[INFO] [stdout]            - impl PartialEq<Value> for i32;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 12 |         assert_eq!(10, vec![1, 2, 3, 4].iter().sum::<S>());
[INFO] [stdout]    |                                                   +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert_eq!(10, linked.iter().sum())
[INFO] [stdout]    |                                      ^^^ cannot infer type of the type parameter `S` declared on the associated function `sum`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: Sum<&i32>`
[INFO] [stdout]    = help: the following types implement trait `Sum<A>`:
[INFO] [stdout]              <Duration as Sum<&'a Duration>>
[INFO] [stdout]              <Duration as Sum>
[INFO] [stdout]              <Option<T> as Sum<Option<U>>>
[INFO] [stdout]              <Result<T, E> as Sum<Result<U, E>>>
[INFO] [stdout]              <Simd<f32, LANES> as Sum<&'a Simd<f32, LANES>>>
[INFO] [stdout]              <Simd<f32, LANES> as Sum>
[INFO] [stdout]              <Simd<f64, LANES> as Sum<&'a Simd<f64, LANES>>>
[INFO] [stdout]              <Simd<f64, LANES> as Sum>
[INFO] [stdout]            and 72 others
[INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum`
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/iter/traits/iterator.rs:3386:5
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert_eq!(10, linked.iter().sum::<S>())
[INFO] [stdout]    |                                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert_eq!(10, linked.iter().sum())
[INFO] [stdout]    |         -----------------------------^^^---
[INFO] [stdout]    |         |                            |
[INFO] [stdout]    |         |                            cannot infer type of the type parameter `S` declared on the associated function `sum`
[INFO] [stdout]    |         type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`:
[INFO] [stdout]            - impl PartialEq for i32;
[INFO] [stdout]            - impl PartialEq<Value> for i32;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert_eq!(10, linked.iter().sum::<S>())
[INFO] [stdout]    |                                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `broken_inference` due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ef06355333b4428987e8c6561fa5dda6bcec8a92463203409bb76b8c0dfff8fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef06355333b4428987e8c6561fa5dda6bcec8a92463203409bb76b8c0dfff8fb", kill_on_drop: false }`
[INFO] [stdout] ef06355333b4428987e8c6561fa5dda6bcec8a92463203409bb76b8c0dfff8fb
